vt-d: fix Dom0 S3 resume.
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:51:37 +0000 (09:51 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 3 Sep 2009 08:51:37 +0000 (09:51 +0100)
commit4bda558243b36e6d97e3f0a08782efe734bf88b9
tree64d004b0116cd0efda362aae95eaac800ae65022
parenta980249c45caa086a5e08fe8a827a865c5ea9491
vt-d: fix Dom0 S3 resume.

When resuming from Dom0 S3, here 'irq' is -1, so we can't use it at
all. We should always use iommu->irq.

With the patch applied on the current tip 20153 and using the 2.6.18
Dom0, Dom0 S3 works fine (at least on my DQ35).

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/drivers/passthrough/vtd/iommu.c